package com.aizhixin.lab.project.course.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Data
@Entity(name = "t_project_document")
public class ProjectDocument {
    @Id
    @Column(name = "id")
    @ApiModelProperty(value = "id")
    private String id;
    @Column(name = "document_name")
    @ApiModelProperty(value = "文档名称")
    private String documentName;
    @Column(name = "document_path")
    @ApiModelProperty(value = "文档路径")
    private String documentPath;
    @Column(name = "created_date",updatable=false)
    @ApiModelProperty(value = "创建时间")
    private Date createdDate;
    @Column(name = "created_by")
    @ApiModelProperty(value = "创建人")
    private Long createdBy;
    @Column(name = "check_status")
    @ApiModelProperty(value = "确认状态")
    private Integer checkStatus;
    @Column(name = "check_user_id")
    @ApiModelProperty(value = "确认人")
    private Long checkUserId;
    @Column(name = "check_suggest")
    @ApiModelProperty(value = "确认建议")
    private String checkSuggest;
    @Column(name = "check_time")
    @ApiModelProperty(value = "确认时间")
    private Date checkTime;
    @Column(name = "delete_flag")
    @ApiModelProperty(value = "删除 标识")
    private Integer deleteFlag;
    @ApiModelProperty(value = "项目id")
    @Column(name = "project_id")
    private String projectId;
    @Column(name = "file_key")
    private String fileKey;
    @Column(name = "file_name")
    private String fileName;
}
